package com.wx.mall.operate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wx.mall.operate.dto.RebDisDto;
import com.wx.mall.operate.dto.RebDiscountDto;
import com.wx.mall.operate.dto.RebToDisDto;
import com.wx.mall.operate.dto.RebateSaveDto;
import com.wx.mall.operate.entity.RebDiscount;
import com.wx.mall.operate.vo.RebToDisVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author z
 * @since 2020-6-4
 */
public interface IRebDiscountService extends IService<RebDiscount> {
    //根据id查询一条
    List<RebToDisVo> findRebDisList(RebToDisDto dto);
    //更新添加优惠条件
    int updateDiscount(Long ids,List<RebDiscount> rebDiscount,List<RebDiscount> id);
    //删除一条
    int deleteDiscount(Long ids);
}
